<div [formGroup]="form" class="form-group">
    <div [ngSwitch]="question.controlType">
      <ng-container *ngSwitchCase="'input'">
        <input-textbox [question]="question" [form]="form"></input-textbox>
      </ng-container>
      <ng-container *ngSwitchCase="'select'">
        <input-select [question]="question" [form]="form"></input-select>
      </ng-container>
    </div>
</div>